package cn.com.vastbase.hibernate.sample.quickstart.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;
import java.util.Date;

@Getter
@Setter
@ToString
@NoArgsConstructor
public class User1 {
    private Integer id;
    private String name;
    private Integer age;
    private Date birthday;
    private Date createTime;

    public User1(String name, Integer age, Date birthday, Date createTime) {
        this.name = name;
        this.age = age;
        this.birthday = birthday;
        this.createTime = createTime;
    }
}
